package breeze.tool.life;
import android.app.Application;
import brz.breeze.service_utils.BExceptionCatcher;
import android.content.Context;

public class App extends Application{
    
    /*
	*@author BREEZE
	*@date 2021-11-20 14:55:20
    */
    public static final String TAG = "App";
	
	private static Context mContext;

	@Override
	public void onCreate() {
		super.onCreate();
		Thread.setDefaultUncaughtExceptionHandler(BExceptionCatcher.getInstance(this));
		if(mContext == null){
			mContext = getApplicationContext();
		}
	}
	
	public static Context getContext(){
		return mContext;
	}
    
}
